package com.efast.dmom.mes.dao.entity;

import java.util.List;

import com.efast.dmom.mes.dao.base.QualityBaseEntityDao;
import com.efast.dmom.mes.entity.QualityCheckEntity;

public interface QualityCheckDao extends QualityBaseEntityDao<QualityCheckEntity> {
	
	public List<QualityCheckEntity> getByparentidAndCode(QualityCheckEntity qualityCheckEntity);
	
	public List<QualityCheckEntity> getListDataById(List<Long> id);
	

	// 获取当前id下所有的子类
	public List<QualityCheckEntity> getChildByParentId(QualityCheckEntity qualityCheckEntity);
	int batchDeleteByIds(List<QualityCheckEntity> listQualityCheckEntities);
	QualityCheckEntity getByName(String name);
	List<QualityCheckEntity> getAllParentData();
	
}
